package com.oracle.jimu.service;

import java.util.List;

import com.oracle.jimu.bean.ProductBean;

public interface ProductService {
	List<ProductBean> prodList();
	void addProd(ProductBean product);
	ProductBean getProdById(Integer id);
	void modiProd(ProductBean product);
	void delProd(Integer id);
	ProductBean findProdByName(String name);
	List<ProductBean> getAds();
	List<ProductBean> searchProds(String str)  ;
	ProductBean findProdById(Integer productid);
	List<ProductBean> getProdsBySub(Integer subtypeid)  ;
}
